package com.huang.loop;

/**
 目标：
 了解循环嵌套的格式以及执行流程
 */
public class LoopNestingDemo6 {
    public static void main(String[] args) {
        for (int i = 0; i < 3; i++) {
            for (int j = 0; j < 4; j++) {
                System.out.println("荒天帝");
            }
            System.out.println("--------------------");
        }


        for (int i = 0; i < 4; i++) {
            for (int j = 0; j < 4; j++) {
                System.out.print("*");
            }
            System.out.println();
        }
    }
}